package com.scrcu.cloud.wechat.home.endpoint.staff.service;

import cn.hutool.json.JSONObject;
import com.scrcu.cloud.wechat.home.endpoint.common.model.RestResponse;
import com.scrcu.cloud.wechat.home.endpoint.staff.dto.AssessDto;

import javax.servlet.http.HttpServletResponse;
import java.util.ArrayList;

public interface IStaffService {
    RestResponse getSecret(String appid);

    RestResponse getaccessToken(String appid);

    RestResponse getInstList(String accessToken, String id);

    RestResponse processBook(String bookid, String staffid);

    RestResponse submitStaff(String openid, String oanum, String name, String mapId,String city, String area);

    RestResponse judgeStaff(String openid);
    

    RestResponse getGroupAdmin(String openid);

    RestResponse getMember(String openid, String groupid);

    RestResponse getTopiclist(String openid, String groupid);

    RestResponse getGroup(String openid);

    RestResponse submitForm(JSONObject assesses);

    RestResponse clearAssess(String openid, String groupid,String memberid);

    RestResponse getTopiclistDetail(String openid, String groupid, String memberid);

    RestResponse getMemberAdmin(String openid, String groupid,String date);

    RestResponse openAssGroup(String openid, String groupid, String date);

    RestResponse closeAssGroup(String openid, String groupid, String date);

    RestResponse getAssGroup(String openid, String groupid, String date);

    RestResponse getTopiclistAdmin(String openid, String groupid, String date);

    RestResponse getTopicsWithDetail(String openid, String memberid, String groupid, String date);

    RestResponse extractReport(String openid, String groupid, String date, HttpServletResponse response);

    RestResponse deleteTopic(String openid, String topicid);

    RestResponse addTopic(String openid, String groupid, String date, String topicDesc, String topicType);

    RestResponse getTopic(String openid, String topicid);

    RestResponse modifyTopic(String openid, String topicid,String topicDesc, String topicType);

    RestResponse getaccessTokenqiye(String appid);
}
